package cn.dakaqi.services;

import cn.dakaqi.entities.PinganVoucherCenter;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * @author chunyang on 2016/4/19.
 */
public interface PinganVoucherCenterService
{
    void save(PinganVoucherCenter pinganVoucherCenter)throws ServiceRuntimeException;
    PinganVoucherCenter findByCardNum(String cardNum)throws ServiceRuntimeException;
    Page<PinganVoucherCenter> findByMoney(String customer,Float money,int pageNumber)throws ServiceRuntimeException;
}
